<?php
  $m1 = memory_get_usage();
?>
<table border="1" width="50%" align="center" cellpadding="10">
<?php
  for ($i = 1; $i <=15 ; $i++)
  {
    $color = ($i%2==0)?"yellow":"lightyellow";
?>
  <tr>
    <td style="background-color:<?=$color?>">
    Data <?=$i?>
    </td>
  </tr>
<?php
  }//end for
?>
</table>

<?php
$m2 = memory_get_usage();
echo $m2-$m1;
